# 反序列化：将文件中内容读取到程序中
import json
with open("b.txt",'r',encoding="UTF-8") as fp:
    data = json.load(fp)
    #data = fp.read()
    # s = json.loads(data) # 将json字符串转成python
    #print(s)
    #print(type(s)) # <class 'dict'>
    print(data)
    print(type(data))  # <class 'dict'>
